import React from 'react'
import {render} from 'react-dom'

import App from './component/app'
import store from './redux/store'

function show() {
    render(<App store={store}/>, document.getElementById('root'));
}

//初始化
show();
//监听
store.subscribe(show);